HomeAbout MeContact

Monitor your PowerApps Canvas App to your Azure DevOps Repo

Published in Power Platform
June 21, 2023
2 min read
Monitor your PowerApps Canvas App to your Azure DevOps Repo

Table Of Contents

01
Prerequisites
02
To begin the process, follow these steps:
03
Setting up your Repository

Are you interested in implementing change monitoring for your PowerApps Form within Azure DevOps? If so, allow me to provide you with a comprehensive guide on how to achieve this objective in a professional manner.

Here are the steps on how to do it.

Prerequisites

  1. Azure DevOps Repository: Ensure that you have an established DevOps Project and possess the necessary authorization to create a new Repository within that specific Project.
  2. PowerApps Form: Obtain a PowerApps Form that you intend to monitor for changes.
  3. Activating Git Integration in PowerApps: Enable Git integration within your PowerApps environment.

To begin the process, follow these steps:

  1. Open your PowerApps application. Locate and click on the “Settings” option.

Locate and click on the "Settings" option.
Locate and click on the "Settings" option.

Under the “Upcoming Feature” section, locate and select the “Show the Git version control setting” option.

Enabling Git Experimental Feature
Enabling Git Experimental Feature

Once the “Git Version Control” option appears, it will allow you to connect your PowerApps Form to your Git repository.

Git Version Control option
Git Version Control option

Click on the “Connect” button, which will prompt you to provide the following information:

  • Git repository URL: Copy the URL of your Repository.
  • Branch: Select the branch where you want to push your code (e.g., “main”).
  • Directory name: Provide a name for the directory that will be used to store your PowerApps assets and code.

Provide the following information
Provide the following information

Setting up your Repository

In your DevOps Project, create a new Repository named “PowerApps-RepoDemo” (or any desired name).

Newly created Repo
Newly created Repo

Copy the URL of the newly created Repository and paste it into the “Git repository URL” field in PowerApps.

https://dev.azure.com/BillyDevops/Personal%20Projects/_git/PowerApps%20-%20RepoDemo

Getting the repository URL
Getting the repository URL

For Branch, pick the branch you want to push your code. We are going to use my default branch called “main”

Checking what branch is available
Checking what branch is available

For the Directory name we provide any name to it, this will use to create a new folder in your repo and that will be used to push all your PowerApps Assets and code.

Lets go back to PowerApps and Provide the information we have

Connecting to our repo
Connecting to our repo

PowerApps will prompt you for a username and password.

Generate a new Personal Access Token in Azure DevOps by clicking on “User settings” at the top right of the page, then selecting “Personal access token.”

Creating a new Personal Access Token
Creating a new Personal Access Token

Click on ”+ New Token” and provide the necessary information.

Generating the Access Code
Generating the Access Code

After clicking “Create,” ensure you save the generated token. Return to PowerApps and provide the generated token as the password. For the username, use the email address associated with your Personal Access Token.

Entering Username and Password
Entering Username and Password

Once connected, you will receive a confirmation in PowerApps.

Confirmation
Confirmation

Return to Azure DevOps, where you should see a new folder within the selected branch. This folder will correspond to the directory name provided earl

By following these steps, you will successfully set up change monitoring for your PowerApps Form within Azure DevOps.


Tags

O365M365SharePoint OnlinePowerApps

Share


Previous Article
Adding Google Analytics 4 to your SharePoint Site

Related Posts

Troubleshooting Power Automate -  Non-default Environment Bug in SharePoint
Troubleshooting Power Automate - Non-default Environment Bug in SharePoint
November 06, 2023
1 min

Quick Links

About MeContact Me

Social Media